export default {
    namespaced: true,
    state() {
        return {
            loading: false,
        }
    },
    getters: {
        loading: state => state.loading,
    },
    mutations: {
        showLoading(state) {
            state.loading = true
        },
        hideLoading(state) {
            state.loading = false;
        }
    }
}